<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  <title>净土</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="A blog of howiefh.">
<meta property="og:type" content="website">
<meta property="og:title" content="净土">
<meta property="og:url" content="http://howiefh.github.io/page/5/index.html">
<meta property="og:site_name" content="净土">
<meta property="og:description" content="A blog of howiefh.">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="净土">
<meta name="twitter:description" content="A blog of howiefh.">
  
    <link rel="alternative" href="/atom.xml" title="净土" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.ico">
  
  <link href="http://fonts.useso.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  <link rel="stylesheet" href="/css/style.css" type="text/css">
  
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-40492061-1', 'auto');
ga('send', 'pageview');

</script>


  
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?56d2899c5e919fbf4a7b00de5d1c31dd";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>


</head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">净土</a>
      </h1>
      
        <h2 id="subtitle-wrap">
          <a href="/" id="subtitle">乐不在外而在心，心以为乐，则是境皆乐；心以为苦，则无境不苦。</a>
        </h2>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-github-link" class="nav-icon" href="https://github.com/howiefh" title="Github" target="_blank"></a>
        
        
          <a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed" target="_blank"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="Search"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" results="0" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="http://howiefh.github.io"></form>
      </div>
    </div>
  </div>
</header>

      <div class="outer">
        <section id="main">
  
    <article id="post-mongodb-note-5-indexing" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    
<a href="/2014/05/26/mongodb-note-5-indexing/" class="article-date">
  <time datetime="2014-05-26T03:48:34.000Z" itemprop="datePublished">2014-05-26</time>
</a>


    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Database/">Database</a>►<a class="article-category-link" href="/categories/Database/MongoDB/">MongoDB</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2014/05/26/mongodb-note-5-indexing/">mongodb笔记(五) 索引</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h2 id="索引简介">索引简介</h2><p>创建单键索引<br><figure class="highlight stylus"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">db.<span class="function"><span class="title">ensureIndex</span><span class="params">(&#123;<span class="string">"date"</span>:<span class="number">1</span>&#125;)</span></span></span><br></pre></td></tr></table></figure></p>
<p>创建复合索引<br><figure class="highlight stylus"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">db.<span class="function"><span class="title">ensureIndex</span><span class="params">(&#123;<span class="string">"date"</span>:<span class="number">1</span>,<span class="string">"username"</span>:<span class="number">1</span>&#125;)</span></span></span><br></pre></td></tr></table></figure></p>
<p>ensureIndex的文档形式和sort类似。</p>
        
          <p class="article-more-link">
            <a href="/2014/05/26/mongodb-note-5-indexing/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
	  
	  <a data-url="http://howiefh.github.io/2014/05/26/mongodb-note-5-indexing/" data-id="cie0u23gj004yjvdues0i4a8a" data_title="mongodb笔记(五) 索引" data_summary="索引简介创建单键索引1db.ensureIndex(&..." class="article-share-link">Share</a>
      

      
        <a href="http://howiefh.github.io/2014/05/26/mongodb-note-5-indexing/#ds-thread" class="ds-thread-count article-comment-link" data-thread-key="/2014/05/26/mongodb-note-5-indexing/">暂无评论</a>
      
	  
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/MongoDB/">MongoDB</a></li></ul>

	  
<span>
Updated:<time datetime="2014-12-24T07:55:07.000Z" itemprop="dateModified">2014-12-24</time>
</span>


    </footer>
  </div>
  
</article>



<!-- 多说评论框 start -->

<!-- 多说评论框 end -->

  
    <article id="post-mongodb-note-4-querying" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    
<a href="/2014/05/08/mongodb-note-4-querying/" class="article-date">
  <time datetime="2014-05-08T13:48:34.000Z" itemprop="datePublished">2014-05-08</time>
</a>


    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Database/">Database</a>►<a class="article-category-link" href="/categories/Database/MongoDB/">MongoDB</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2014/05/08/mongodb-note-4-querying/">mongodb笔记(四) 查询</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h2 id="find">find</h2><h3 id="指定返回的键">指定返回的键</h3><p>可以在find中通过多个键值对进行查询会被解释成and，多个键值对之间是且的关系</p>
<p>通过find的第二个参数可以指定返回的键<br><figure class="highlight gradle"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">db.users.<span class="keyword">find</span>(&#123;&#125;,&#123;<span class="string">"username"</span>:<span class="number">1</span>,<span class="string">"email"</span>:<span class="number">1</span>&#125;)</span><br><span class="line">db.users.<span class="keyword">find</span>(&#123;&#125;,&#123;<span class="string">"username"</span>:<span class="number">1</span>,<span class="string">"email"</span>:<span class="number">1</span>,<span class="string">"_id"</span>:<span class="number">0</span>&#125;)</span><br></pre></td></tr></table></figure></p>
<p>第一条语句将返回_id,username,email,_id总是被返回。如果不想返回_id指定为0</p>
        
          <p class="article-more-link">
            <a href="/2014/05/08/mongodb-note-4-querying/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
	  
	  <a data-url="http://howiefh.github.io/2014/05/08/mongodb-note-4-querying/" data-id="cie0u23gn0052jvdua05w7md2" data_title="mongodb笔记(四) 查询" data_summary="find指定返回的键可以在find中通过多个键值对进行..." class="article-share-link">Share</a>
      

      
        <a href="http://howiefh.github.io/2014/05/08/mongodb-note-4-querying/#ds-thread" class="ds-thread-count article-comment-link" data-thread-key="/2014/05/08/mongodb-note-4-querying/">暂无评论</a>
      
	  
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/MongoDB/">MongoDB</a></li></ul>

	  
<span>
Updated:<time datetime="2014-12-24T07:55:07.000Z" itemprop="dateModified">2014-12-24</time>
</span>


    </footer>
  </div>
  
</article>



<!-- 多说评论框 start -->

<!-- 多说评论框 end -->

  
    <article id="post-mongodb-note-3-creating-updating-and-deleting-documents" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    
<a href="/2014/05/04/mongodb-note-3-creating-updating-and-deleting-documents/" class="article-date">
  <time datetime="2014-05-04T03:21:38.000Z" itemprop="datePublished">2014-05-04</time>
</a>


    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Database/">Database</a>►<a class="article-category-link" href="/categories/Database/MongoDB/">MongoDB</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2014/05/04/mongodb-note-3-creating-updating-and-deleting-documents/">mongodb笔记(三) 创建、更新、删除文档</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h2 id="插入并保存文档">插入并保存文档</h2><h3 id="批量插入">批量插入</h3><p>可以使用<code>batchInsert()</code>进行批量插入，如果是导入原始数据可以使用<code>mongoimport</code>。批量插入只能插入一个集合，不能插入一次对多个集合操作。</p>
<p>当前版本mongodb接收的最大消息长度为16MB，所以使用批量插入会有所限制。不过一些驱动会将消息拆分为48MB。</p>
        
          <p class="article-more-link">
            <a href="/2014/05/04/mongodb-note-3-creating-updating-and-deleting-documents/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
	  
	  <a data-url="http://howiefh.github.io/2014/05/04/mongodb-note-3-creating-updating-and-deleting-documents/" data-id="cie0u23gq0056jvduemwkbwqb" data_title="mongodb笔记(三) 创建、更新、删除文档" data_summary="插入并保存文档批量插入可以使用batchInsert(..." class="article-share-link">Share</a>
      

      
        <a href="http://howiefh.github.io/2014/05/04/mongodb-note-3-creating-updating-and-deleting-documents/#ds-thread" class="ds-thread-count article-comment-link" data-thread-key="/2014/05/04/mongodb-note-3-creating-updating-and-deleting-documents/">暂无评论</a>
      
	  
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/MongoDB/">MongoDB</a></li></ul>

	  
<span>
Updated:<time datetime="2014-12-24T07:55:06.000Z" itemprop="dateModified">2014-12-24</time>
</span>


    </footer>
  </div>
  
</article>



<!-- 多说评论框 start -->

<!-- 多说评论框 end -->

  
    <article id="post-mongodb-note-2-start-mongodb" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    
<a href="/2014/04/30/mongodb-note-2-start-mongodb/" class="article-date">
  <time datetime="2014-04-30T01:46:04.000Z" itemprop="datePublished">2014-04-30</time>
</a>


    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Database/">Database</a>►<a class="article-category-link" href="/categories/Database/MongoDB/">MongoDB</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2014/04/30/mongodb-note-2-start-mongodb/">mongodb笔记(二) 入门</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h2 id="文档">文档</h2><p>多个键/值对有序放置在一起便是文档。文档类似于关系数据库中的行，但比行要复杂很多。</p>
        
          <p class="article-more-link">
            <a href="/2014/04/30/mongodb-note-2-start-mongodb/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
	  
	  <a data-url="http://howiefh.github.io/2014/04/30/mongodb-note-2-start-mongodb/" data-id="cie0u23gt005ajvdu0jvnbnl8" data_title="mongodb笔记(二) 入门" data_summary="文档多个键/值对有序放置在一起便是文档。文档类似于关系..." class="article-share-link">Share</a>
      

      
        <a href="http://howiefh.github.io/2014/04/30/mongodb-note-2-start-mongodb/#ds-thread" class="ds-thread-count article-comment-link" data-thread-key="/2014/04/30/mongodb-note-2-start-mongodb/">暂无评论</a>
      
	  
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/MongoDB/">MongoDB</a></li></ul>

	  
<span>
Updated:<time datetime="2014-12-24T07:55:06.000Z" itemprop="dateModified">2014-12-24</time>
</span>


    </footer>
  </div>
  
</article>



<!-- 多说评论框 start -->

<!-- 多说评论框 end -->

  
    <article id="post-vim-table-mode" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    
<a href="/2014/04/29/vim-table-mode/" class="article-date">
  <time datetime="2014-04-29T09:23:20.000Z" itemprop="datePublished">2014-04-29</time>
</a>


    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Vim/">Vim</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2014/04/29/vim-table-mode/">vim插入表格(Vim Table Mode)</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>hexo升级后，对GFM有了更好的支持，现在可以方便地使用GFM的表格了。为了方便在Vim里用markdown写博客，就想找一个好用的vim插件，搜了一下，有不少这类插件，比如<a href="https://github.com/nvie/vim-rst-tables">vim-rst-tables</a>,<a href="https://github.com/vim-scripts/RST-Tables-CJK">RST-Tables-CJK</a>,<a href="http://lilydjwg.is-programmer.com/2013/8/5/rst_tables-improved.40237.html">rst_tables 改进版</a>等，但是都对 python 有依赖。找了老半天，最后还真找到一个不需要依赖 python 的： <a href="https://github.com/dhruvasagar/vim-table-mode">VIM Table Mode</a>。下面简单介绍一下这个插件。</p>
        
          <p class="article-more-link">
            <a href="/2014/04/29/vim-table-mode/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
	  
	  <a data-url="http://howiefh.github.io/2014/04/29/vim-table-mode/" data-id="cie0u23gx005ejvduj12qa62l" data_title="vim插入表格(Vim Table Mode)" data_summary="hexo升级后，对GFM有了更好的支持，现在可以方便地..." class="article-share-link">Share</a>
      

      
        <a href="http://howiefh.github.io/2014/04/29/vim-table-mode/#ds-thread" class="ds-thread-count article-comment-link" data-thread-key="/2014/04/29/vim-table-mode/">暂无评论</a>
      
	  
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Vim/">Vim</a></li></ul>

	  
<span>
Updated:<time datetime="2014-12-24T07:48:13.000Z" itemprop="dateModified">2014-12-24</time>
</span>


    </footer>
  </div>
  
</article>



<!-- 多说评论框 start -->

<!-- 多说评论框 end -->

  
    <article id="post-mongodb-note-1-install-mongodb" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    
<a href="/2014/04/26/mongodb-note-1-install-mongodb/" class="article-date">
  <time datetime="2014-04-26T14:26:20.000Z" itemprop="datePublished">2014-04-26</time>
</a>


    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Database/">Database</a>►<a class="article-category-link" href="/categories/Database/MongoDB/">MongoDB</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2014/04/26/mongodb-note-1-install-mongodb/">mongodb笔记(一) 安装启动mongodb</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h2 id="Windows下安装">Windows下安装</h2><blockquote>
<p>从 2.2 开始已经不再支持 Windows XP。<br>Windows Server 2008 R2 或 Windows 7下需要安装一个补丁： <a href="http://support.microsoft.com/kb/2731284">DOS 错误代码时使用 FlushViewOfFile() 函数，在 Windows 7 中，或在 Windows Server 2008 R2 中清除内存内存映射文件</a></p>
</blockquote>
        
          <p class="article-more-link">
            <a href="/2014/04/26/mongodb-note-1-install-mongodb/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
	  
	  <a data-url="http://howiefh.github.io/2014/04/26/mongodb-note-1-install-mongodb/" data-id="cie0u23h0005hjvdu9e7zkkac" data_title="mongodb笔记(一) 安装启动mongodb" data_summary="Windows下安装
从 2.2 开始已经不再支持 W..." class="article-share-link">Share</a>
      

      
        <a href="http://howiefh.github.io/2014/04/26/mongodb-note-1-install-mongodb/#ds-thread" class="ds-thread-count article-comment-link" data-thread-key="/2014/04/26/mongodb-note-1-install-mongodb/">暂无评论</a>
      
	  
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/MongoDB/">MongoDB</a></li></ul>

	  
<span>
Updated:<time datetime="2014-12-24T07:47:58.000Z" itemprop="dateModified">2014-12-24</time>
</span>


    </footer>
  </div>
  
</article>



<!-- 多说评论框 start -->

<!-- 多说评论框 end -->

  
    <article id="post-hexo-optimize-and-my-theme-landscape-f" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    
<a href="/2014/04/20/hexo-optimize-and-my-theme-landscape-f/" class="article-date">
  <time datetime="2014-04-20T13:45:47.000Z" itemprop="datePublished">2014-04-20</time>
</a>


    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Hexo/">Hexo</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2014/04/20/hexo-optimize-and-my-theme-landscape-f/">hexo优化及主题Landscape-F</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>自从去年装好<a href="https://github.com/tommy351/hexo">Hexo</a>后就没有更新过，直到最近才把<a href="https://github.com/tommy351/hexo">Hexo</a>从1.1.3更新到了2.5.2。发现有了不少的变化，插件比过去多了，还有了新的默认主题，<a href="http://hexo.io">文档</a>也比过去更详细了。但是默认主题有一些我需要的东西还没有，比如文章目录、返回顶部按钮、多说评论，百度分享等等。在网上找了不少<a href="http://github.com/tommy351/hexo/wiki/Themes">Hexo主题</a>，最后还是觉得默认主题比较不错，还有一个<a href="https://github.com/A-limon/pacman">Pacman</a>感觉也挺好的。于是就在<a href="https://github.com/hexojs/hexo-theme-landscape">Landscape</a>基础上主要参考<a href="https://github.com/A-limon/pacman">Pacman</a>对默认主题进行了一些优化，这样我的主题<a href="https://github.com/howiefh/hexo-theme-landscape-f">Landscape-F</a>就诞生了。</p>
        
          <p class="article-more-link">
            <a href="/2014/04/20/hexo-optimize-and-my-theme-landscape-f/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
	  
	  <a data-url="http://howiefh.github.io/2014/04/20/hexo-optimize-and-my-theme-landscape-f/" data-id="cie0u23h4005ljvduml29yfle" data_title="hexo优化及主题Landscape-F" data_summary="自从去年装好Hexo后就没有更新过，直到最近才把Hex..." class="article-share-link">Share</a>
      

      
        <a href="http://howiefh.github.io/2014/04/20/hexo-optimize-and-my-theme-landscape-f/#ds-thread" class="ds-thread-count article-comment-link" data-thread-key="/2014/04/20/hexo-optimize-and-my-theme-landscape-f/">暂无评论</a>
      
	  
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Hexo/">Hexo</a></li></ul>

	  
<span>
Updated:<time datetime="2015-06-21T03:43:17.000Z" itemprop="dateModified">2015-06-21</time>
</span>


    </footer>
  </div>
  
</article>



<!-- 多说评论框 start -->

<!-- 多说评论框 end -->

  
    <article id="post-android-note-3---android-layout-manager" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    
<a href="/2014/03/04/android-note-3---android-layout-manager/" class="article-date">
  <time datetime="2014-03-04T11:22:01.000Z" itemprop="datePublished">2014-03-04</time>
</a>


    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Android/">Android</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2014/03/04/android-note-3---android-layout-manager/">Android布局管理器</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h2 id="线性布局">线性布局</h2><p>线性布局由LinearLayout类来代表，它将容器里面的组件一个挨着一个地排列起来。LinearLayout不仅可以控制各组件横向排列（通过设置android:orientation属性控制），也可以控制各组件纵向排列。</p>
<p>LInearLayout不会换行，当组件一个挨着一个排列到头之后，剩下的组件将不会被显示。</p>
        
          <p class="article-more-link">
            <a href="/2014/03/04/android-note-3---android-layout-manager/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
	  
	  <a data-url="http://howiefh.github.io/2014/03/04/android-note-3---android-layout-manager/" data-id="cie0u23h8005qjvduo6p3hnfy" data_title="Android布局管理器" data_summary="线性布局线性布局由LinearLayout类来代表，它..." class="article-share-link">Share</a>
      

      
        <a href="http://howiefh.github.io/2014/03/04/android-note-3---android-layout-manager/#ds-thread" class="ds-thread-count article-comment-link" data-thread-key="/2014/03/04/android-note-3---android-layout-manager/">暂无评论</a>
      
	  
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Android/">Android</a></li></ul>

	  
<span>
Updated:<time datetime="2014-12-24T07:46:20.000Z" itemprop="dateModified">2014-12-24</time>
</span>


    </footer>
  </div>
  
</article>



<!-- 多说评论框 start -->

<!-- 多说评论框 end -->

  
    <article id="post-android-note-2---android-basic-components" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    
<a href="/2014/03/03/android-note-2---android-basic-components/" class="article-date">
  <time datetime="2014-03-03T12:41:44.000Z" itemprop="datePublished">2014-03-03</time>
</a>


    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Android/">Android</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2014/03/03/android-note-2---android-basic-components/">Android应用的基本组件介绍</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>Android应用通常由一个或多个组件组成，而最常用的组件是Activity，另外还包括Service、BroadcastReceiver、ContentProvider、Intent 。</p>
        
          <p class="article-more-link">
            <a href="/2014/03/03/android-note-2---android-basic-components/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
	  
	  <a data-url="http://howiefh.github.io/2014/03/03/android-note-2---android-basic-components/" data-id="cie0u23hc005vjvdu5qpbhxlu" data_title="Android应用的基本组件介绍" data_summary="Android应用通常由一个或多个组件组成，而最常用的..." class="article-share-link">Share</a>
      

      
        <a href="http://howiefh.github.io/2014/03/03/android-note-2---android-basic-components/#ds-thread" class="ds-thread-count article-comment-link" data-thread-key="/2014/03/03/android-note-2---android-basic-components/">暂无评论</a>
      
	  
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Android/">Android</a></li></ul>

	  
<span>
Updated:<time datetime="2014-12-24T07:46:07.000Z" itemprop="dateModified">2014-12-24</time>
</span>


    </footer>
  </div>
  
</article>



<!-- 多说评论框 start -->

<!-- 多说评论框 end -->

  
    <article id="post-android-note-1---application-fundamentals" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    
<a href="/2014/03/03/android-note-1---application-fundamentals/" class="article-date">
  <time datetime="2014-03-03T03:26:29.000Z" itemprop="datePublished">2014-03-03</time>
</a>


    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Android/">Android</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2014/03/03/android-note-1---application-fundamentals/">Android应用结构分析</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h2 id="创建Android项目命令">创建Android项目命令</h2><figure class="highlight haml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">android create project -n HelloWorld -t 8 -p HelloWorld -k org.crazyit.helloworld -a HelloWorld </span><br><span class="line">create project：手动创建一个Android应用子命令； </span><br><span class="line">-<span class="ruby">n：指定创建项目名称； </span><br><span class="line"></span>-<span class="ruby">t：指定项目针对的<span class="constant">Android</span>平台； </span><br><span class="line"></span>-<span class="ruby">p：指定项目的保存路径； </span><br><span class="line"></span>-<span class="ruby">k：指定该项目的包名； </span><br><span class="line"></span>-<span class="ruby">a：指定<span class="constant">Activity</span>的名称；</span></span><br></pre></td></tr></table></figure>
        
          <p class="article-more-link">
            <a href="/2014/03/03/android-note-1---application-fundamentals/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
	  
	  <a data-url="http://howiefh.github.io/2014/03/03/android-note-1---application-fundamentals/" data-id="cie0u23he005yjvduxjeqawzz" data_title="Android应用结构分析" data_summary="创建Android项目命令1234567android..." class="article-share-link">Share</a>
      

      
        <a href="http://howiefh.github.io/2014/03/03/android-note-1---application-fundamentals/#ds-thread" class="ds-thread-count article-comment-link" data-thread-key="/2014/03/03/android-note-1---application-fundamentals/">暂无评论</a>
      
	  
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Android/">Android</a></li></ul>

	  
<span>
Updated:<time datetime="2014-12-24T07:45:56.000Z" itemprop="dateModified">2014-12-24</time>
</span>


    </footer>
  </div>
  
</article>



<!-- 多说评论框 start -->

<!-- 多说评论框 end -->

  
  
    <nav id="page-nav">
      <a class="extend prev" rel="prev" href="/page/4/">&laquo; Prev</a><a class="page-number" href="/">1</a><span class="space">&hellip;</span><a class="page-number" href="/page/3/">3</a><a class="page-number" href="/page/4/">4</a><span class="page-number current">5</span><a class="page-number" href="/page/6/">6</a><a class="page-number" href="/page/7/">7</a><a class="page-number" href="/page/8/">8</a><a class="extend next" rel="next" href="/page/6/">Next &raquo;</a>
    </nav>
  
</section>
        
          
<aside id="sidebar">

  
    
<div class="widget-wrap">
  <h3 class="widget-title">ABOUT ME</h3>
  <ul class="widget about-me">
    
    <li><img class="author" title="About me" src="http://fh-1.qiniudn.com/okal-eltocat.jpg" /></li>
    
    
    <li>Hi,I'm FengHao.</li>
    
    <li>I'll share something interesting and my learning experience with you at this blog.</li>
    
    <li>前博客:<a href="http://hi.baidu.com/idea_star" target="_BLANK">百度空间</a></li>
    
  </ul>
</div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Categories</h3>
    <div class="widget">
      <ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/Android/">Android</a><span class="category-list-count">3</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/C/">C</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Database/">Database</a><span class="category-list-count">13</span><ul class="category-list-child"><li class="category-list-item"><a class="category-list-link" href="/categories/Database/MongoDB/">MongoDB</a><span class="category-list-count">10</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Database/MySQL/">MySQL</a><span class="category-list-count">2</span></li></ul></li><li class="category-list-item"><a class="category-list-link" href="/categories/Eclipse/">Eclipse</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/FTP/">FTP</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Git/">Git</a><span class="category-list-count">3</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Hexo/">Hexo</a><span class="category-list-count">3</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Java/">Java</a><span class="category-list-count">20</span><ul class="category-list-child"><li class="category-list-item"><a class="category-list-link" href="/categories/Java/FreeMarker/">FreeMarker</a><span class="category-list-count">3</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Java/Shiro/">Shiro</a><span class="category-list-count">2</span></li></ul></li><li class="category-list-item"><a class="category-list-link" href="/categories/JavaEE/">JavaEE</a><span class="category-list-count">4</span><ul class="category-list-child"><li class="category-list-item"><a class="category-list-link" href="/categories/JavaEE/Hibernate/">Hibernate</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/JavaEE/JSP/">JSP</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/JavaEE/Spring/">Spring</a><span class="category-list-count">2</span></li></ul></li><li class="category-list-item"><a class="category-list-link" href="/categories/JavaScript/">JavaScript</a><span class="category-list-count">5</span><ul class="category-list-child"><li class="category-list-item"><a class="category-list-link" href="/categories/JavaScript/jQuery/">jQuery</a><span class="category-list-count">1</span></li></ul></li><li class="category-list-item"><a class="category-list-link" href="/categories/Linux/">Linux</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/PHP/">PHP</a><span class="category-list-count">5</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Suse/">Suse</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Ubuntu/">Ubuntu</a><span class="category-list-count">5</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Vim/">Vim</a><span class="category-list-count">8</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/编程/">编程</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/软件/">软件</a><span class="category-list-count">1</span></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tag Cloud</h3>
    <div class="widget tagcloud">
      <a href="/tags/Android/" style="font-size: 14.75px; color: #65bfa7">Android</a> <a href="/tags/C/" style="font-size: 13.88px; color: #71c1c2">C</a> <a href="/tags/CAS/" style="font-size: 13px; color: #7dc3de">CAS</a> <a href="/tags/Chrome/" style="font-size: 13px; color: #7dc3de">Chrome</a> <a href="/tags/Clean-Code/" style="font-size: 13.88px; color: #71c1c2">Clean Code</a> <a href="/tags/Database/" style="font-size: 13px; color: #7dc3de">Database</a> <a href="/tags/Eclipse/" style="font-size: 13px; color: #7dc3de">Eclipse</a> <a href="/tags/FTP/" style="font-size: 13.88px; color: #71c1c2">FTP</a> <a href="/tags/FreeMarker/" style="font-size: 14.75px; color: #65bfa7">FreeMarker</a> <a href="/tags/Gcc/" style="font-size: 13px; color: #7dc3de">Gcc</a> <a href="/tags/Git/" style="font-size: 14.75px; color: #65bfa7">Git</a> <a href="/tags/Github-Pages/" style="font-size: 13px; color: #7dc3de">Github Pages</a> <a href="/tags/Hexo/" style="font-size: 14.75px; color: #65bfa7">Hexo</a> <a href="/tags/Hibernate/" style="font-size: 13px; color: #7dc3de">Hibernate</a> <a href="/tags/JSP/" style="font-size: 13px; color: #7dc3de">JSP</a> <a href="/tags/JVM/" style="font-size: 14.75px; color: #65bfa7">JVM</a> <a href="/tags/Java/" style="font-size: 14.75px; color: #65bfa7">Java</a> <a href="/tags/JavaMail/" style="font-size: 13px; color: #7dc3de">JavaMail</a> <a href="/tags/JavaScript/" style="font-size: 16.5px; color: #4dbc6f">JavaScript</a> <a href="/tags/Linux/" style="font-size: 13.88px; color: #71c1c2">Linux</a> <a href="/tags/Log/" style="font-size: 13px; color: #7dc3de">Log</a> <a href="/tags/Markdown/" style="font-size: 13.88px; color: #71c1c2">Markdown</a> <a href="/tags/MongoDB/" style="font-size: 20px; color: #1db400">MongoDB</a> <a href="/tags/MySQL/" style="font-size: 13.88px; color: #71c1c2">MySQL</a> <a href="/tags/PHP/" style="font-size: 16.5px; color: #4dbc6f">PHP</a> <a href="/tags/Rhythmbox/" style="font-size: 13px; color: #7dc3de">Rhythmbox</a> <a href="/tags/SSO/" style="font-size: 13px; color: #7dc3de">SSO</a> <a href="/tags/Servlet/" style="font-size: 13px; color: #7dc3de">Servlet</a> <a href="/tags/Shiro/" style="font-size: 13.88px; color: #71c1c2">Shiro</a> <a href="/tags/Spring/" style="font-size: 13.88px; color: #71c1c2">Spring</a> <a href="/tags/Suse/" style="font-size: 13px; color: #7dc3de">Suse</a> <a href="/tags/Thinking-in-Java/" style="font-size: 19.13px; color: #29b61c">Thinking in Java</a> <a href="/tags/Ubuntu/" style="font-size: 17.38px; color: #41ba53">Ubuntu</a> <a href="/tags/Vim/" style="font-size: 18.25px; color: #35b838">Vim</a> <a href="/tags/VirtualBox/" style="font-size: 13px; color: #7dc3de">VirtualBox</a> <a href="/tags/Vsftpd/" style="font-size: 13px; color: #7dc3de">Vsftpd</a> <a href="/tags/jQuery/" style="font-size: 13px; color: #7dc3de">jQuery</a> <a href="/tags/pam-mysql/" style="font-size: 13px; color: #7dc3de">pam_mysql</a> <a href="/tags/小米/" style="font-size: 13px; color: #7dc3de">小米</a> <a href="/tags/软件/" style="font-size: 15.63px; color: #59bd8b">软件</a>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Archives</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/09/">September 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/08/">August 2015</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/07/">July 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/05/">May 2015</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/04/">April 2015</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/03/">March 2015</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/02/">February 2015</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/12/">December 2014</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/11/">November 2014</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/10/">October 2014</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/09/">September 2014</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/08/">August 2014</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/07/">July 2014</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/06/">June 2014</a><span class="archive-list-count">6</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/05/">May 2014</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/04/">April 2014</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/03/">March 2014</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/02/">February 2014</a><span class="archive-list-count">11</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/01/">January 2014</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/12/">December 2013</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/11/">November 2013</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/08/">August 2013</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/07/">July 2013</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/06/">June 2013</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/05/">May 2013</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/04/">April 2013</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/03/">March 2012</a><span class="archive-list-count">1</span></li></ul>
    </div>
  </div>


  
    <div class="widget-wrap">
  <h3 class="widget-title">Calendar</h3>
  <div class="widget">
    <div id="g-calendar" class="g-calendar">
        <span class="g-calendar-prev"></span>
		 
        <span class="g-calendar-next"></span>
        <div class="g-calendar-hd"></div>
        <div class="g-calendar-tit"></div>
        <div class="g-calendar-bd"></div>
    </div>
  </div>
</div>
<script type="text/javascript">
function LGY_calendar(wrapId, options){
    this.oWrap = this.getId(wrapId);
    this.oHead = this.getByClassName('g-calendar-hd',this.oWrap)[0];
    this.oBody = this.getByClassName('g-calendar-bd',this.oWrap)[0];
    this.oTit = this.getByClassName('g-calendar-tit',this.oWrap)[0];
    this.oPrev = this.getByClassName('g-calendar-prev',this.oWrap)[0];
    this.oNext = this.getByClassName('g-calendar-next',this.oWrap)[0];
    this.oNow = this.getByClassName('g-calendar-now',this.oWrap)[0];
    this.oBack = this.getByClassName('g-calendar-back',this.oWrap)[0];
    this.init();
}
LGY_calendar.prototype = {
    ///////////获取ID元素
    getId:function(id){
        return document.getElementById(id);
    },
    ////////获取css类名元素
    getByClassName:function(className,parent){
        var elem = [],
            node = parent != undefined&&parent.nodeType==1?parent.getElementsByTagName('*'):document.getElementsByTagName('*'),
            p = new RegExp("(^|\\s)"+className+"(\\s|$)");
        for(var n=0,i=node.length;n<i;n++){
            if(p.test(node[n].className)){
                elem.push(node[n]);
            }
        }
        return elem;
    },
    //填充日历
    fillDate:function(year,month){
        //本月份第一天是星期几-为显示上个月的天数做铺垫
        var first_day = new Date(year,month,1).getDay(),
        //如果刚好是星期天，则空出一行（显示上个月的天数）
            first_day = first_day == 0?first_day=7:first_day;
        //本月份最后一天是几号
        var final_date = new Date(year,month+1,0).getDate(),
        //上个月的最后一天是几号
            last_date = new Date(year,month,0).getDate(),
        //剩余的格子数--即排在末尾的格子数
            surplus = 42 - first_day - final_date;
        //设置年的链接
        var yearHead = "<a href='/" + "archives/" + year + "/'>" + year + " "+ "</a>"; 
        //设置年的链接
        var monthHead = "";
        var month1 = month + 1;
        if (month1 < 10) {
            monthHead = "<a href='/" + "archives/" + year + "/" + "0" + month1 + "/'>" + " " + month1 + " " + "</a>";
        } else {
            monthHead = "<a href='/" + "archives/" + year + "/" + month1 + "/'>" + " " + month1 + " " + "</a>";
        }
        //设置表头的日历
        this.oHead.innerHTML = yearHead+'年'+monthHead+'月';
        //填充日历执行
        var html = '';
        //上个月的显示天数
        for(var i=0;i<first_day;i++){
            html+='<span class="g-calendar-grey">'+(last_date-(first_day-1)+i)+'</span>';
        }
        //本月的显示天数
        var postdate = new Date("undefined"); 
        if (false && postdate.getFullYear() == year && postdate.getMonth() == month) { 
            html += '';
        } else {
            for(var j=0;j<final_date;j++){        
                html+='<span id="d'+(j+1)+'">'+(j+1)+'</span>';
            }
        }
        //下个月的显示天数
        for(var k=0;k<surplus;k++){
            html+='<span class="g-calendar-grey">'+(k+1)+'</span>';
        }
        //fill
        this.oBody.innerHTML = html;
        // 当前状态
        if(year==this.c_year&&this.c_month==month){
            this.oBody.getElementsByTagName('span')[first_day+this.date-1].className='g-calendar-on';
        }

        // 对所有文章遍历,然后将有文章的日期加上链接,如果文章太多的话,生成页面会很大,去掉了
        
    },
    // next切换
    next:function(){
        var _that = this;
        this.oNext.onclick = function(){
            _that.month++;
            if(_that.month>11){
                _that.month = 0;
                _that.year++;
            }
            // 填充日历
            _that.fillDate(_that.year,_that.month);
        };
    },
    // back 切换
    back:function(){
        var _that = this;
        if(this.oBack != undefined) {
            this.oBack.onclick = function(){
                var postdate = new Date("undefined"); 
                _that.year = postdate.getFullYear();
                _that.month = postdate.getMonth();
                // 填充日历
                _that.fillDate(_that.year,_that.month);
            };
        }
    },
    // now切换
    now:function(){
        var _that = this;
        if(this.oNow != undefined ) {
            this.oNow.onclick = function(){
                var nowDate = new Date(); 
                _that.year = nowDate.getFullYear();
                _that.month = nowDate.getMonth();
                // 填充日历
                _that.fillDate(_that.year,_that.month);
            };
        }
    },
    // prev切换
    prev:function(){
        var _that = this;
        this.oPrev.onclick = function(){
            _that.month--;
            if(_that.month<0){
                _that.month = 11;
                _that.year--;
            }
            // 填充日历
            _that.fillDate(_that.year,_that.month);
        };
    },
    init:function(){
        this.oTit.innerHTML = '<span>日</span><span>一</span><span>二</span><span>三</span><span>四</span><span>五</span><span>六</span>';
        // 获取今天的日历时间
        var now = new Date();
        this.c_year = this.year = now.getFullYear();
        this.c_month = this.month = now.getMonth();
        this.date = now.getDate();
        // 初始化--填充日历
        this.fillDate(this.year,this.month);
        //next切换
        this.next();
        //prev切换
        this.prev();
        //back 切换
        this.back();
        //now 切换
        this.now();
    }
}
new LGY_calendar('g-calendar');
</script>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Recent Posts</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2015/09/01/javascript-summary/">JavaScript 总结</a>
          </li>
        
          <li>
            <a href="/2015/08/28/javascript-oop-function-expression-and-async/">JavaScript 面向对象程序设计、函数表达式和异步编程</a>
          </li>
        
          <li>
            <a href="/2015/08/28/javascript-reference-type/">JavaScript 引用类型</a>
          </li>
        
          <li>
            <a href="/2015/08/28/javascript-grammar/">JavaScript 基本语法</a>
          </li>
        
          <li>
            <a href="/2015/08/10/java-web/">Java Web 笔记</a>
          </li>
        
      </ul>
    </div>
  </div>


  
    
<div class="widget-wrap">
  <h3 class="widget-title">Recent Comments</h3>
  <ul class="widget ds-recent-comments" data-num-items="5" data-show-avatars="0" data-show-title="1" data-show-time="1"></ul>
</div>
<!-- 需要多说的公用代码 -->


  

</aside>

        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2015 howiefh<br>
      Powered by <a href="http://zespia.tw/hexo/" target="_blank">Hexo</a> and Theme by <a href="https://github.com/howiefh/hexo-theme-landscape-f" target="_blank" title="Landscape-F">Landscape-F</a>
    </div>
  </div>
</footer>

    </div>
    <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    

<!-- 多说公共JS代码 start (一个网页只需插入一次) -->

<script type="text/javascript">
  var duoshuoQuery = {short_name:"howiefh"};
  (function() {
	var ds = document.createElement('script');
	ds.type = 'text/javascript';ds.async = true;
	ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
	ds.charset = 'UTF-8';
	(document.getElementsByTagName('head')[0] 
		|| document.getElementsByTagName('body')[0]).appendChild(ds);
  })();
</script> 

<!-- 多说公共JS代码 end -->

<!-- 百度分享 start -->

<!-- 百度分享 end -->

<!--
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="/js/jquery.min.js"></script>
-->
<script src="/js/jquery.min.js" type="text/javascript"></script>


  <link rel="stylesheet" href="/fancybox/jquery.fancybox.css" type="text/css">
  <script src="/fancybox/jquery.fancybox.pack.js" type="text/javascript"></script>


<div class="bottom-btn">

	<a class="icon-gotop" href="javascript:void(0)" title="返回顶部"></a>
	<script src="/js/gotop.js" type="text/javascript"></script>
	<!--
	<script src="/js/gotop.js"></script>
	-->


</div>
<script src="/js/toc_aside_toggle.js" type="text/javascript"></script>


<script src="/js/script.js" type="text/javascript"></script>

  </div>
</body>
</html>
